@import './reset.less';

.base-layout {
  background-color: #f6f9ff;
  height: 100vh;
  #components-layout-demo-custom-trigger .trigger {
    padding: 0 24px;
    font-size: 18px;
    line-height: 64px;
    cursor: pointer;
    transition: color 0.3s;
  }

  #components-layout-demo-custom-trigger .trigger:hover {
    color: #fff;
  }

  #components-layout-demo-custom-trigger .logo {
    height: 32px;
    margin: 16px;
    background: rgba(255, 255, 255, 0.3);
  }

  .site-layout .site-layout-background {
    background: #fff;
  }
  .menu-left {
    box-shadow: 0 0 3px 1px #ddd;
    margin-right: 12px;
    background-color: #fff;
    color: #666;
    .logo-wrap {
      width: 100%;
      text-align: center;
      margin: 25px 0 5px;
      img {
        width: 70px;
        height: 70px;
        margin-bottom: 11px;
      }
      p {
        font-size: 16px;
        font-weight: bold;
        white-space: nowrap;
        overflow: hidden;
        &.hide {
          visibility: hidden;
        }
      }
    }
    .ant-menu {
      color: inherit;
      background-color: initial;
      a {
        color: inherit;
      }
    }
    .nav-button {
      position: absolute;
      bottom: 15px;
      left: 0;
      right: 0;
      width: 70px;
      margin: 0 auto;
      text-align: center;
      font-size: 13px;
      .avatar {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 0 2px 0 #666;
        margin: 0 11px;
        object-fit: cover;
      }
      .user-name {
        padding: 11px 0px;
      }
    }
  }
  .menu-header {
    display: flex;
    justify-content: space-between;
    height: 50px;
    line-height: 50px;
    margin-bottom: 12px;
    box-shadow: 0 0 3px 1px #ddd;
    padding: 0 15px;
    .header-left {
      display: flex;
      justify-content: center;
      align-items: center;
      .nav-breadcrumb {
        margin-left: 12px;
      }
    }
    .header-right {
      display: flex;
      justify-content: center;
      align-items: center;
      .fast-menu {
        position: relative;
        margin-right: 15px;
        .ant-btn {
          margin-right: 15px;
        }
        &::after {
          content: '';
          position: absolute;
          top: 16px;
          right: 0;
          display: block;
          width: 1px;
          height: 20px;
          background-color: #bbbbbb;
        }
      }
    }
  }
  .layout-content {
    box-shadow: 0 0 3px 1px #ddd;
  }
}
